home *** CD-ROM | disk | FTP | other *** search
/ Austin Powers - The Spy who Shagged Me / Screendragon: Austin Powers - The Spy who Shagged Me.iso / xtras / regread / regread.dir / 00001_Script_1 next >
Text File  |  1999-03-16  |  835b  |  27 lines

  1. on startMovie
  2.   set registryReaderFound = false
  3.   
  4.   repeat with i = 1 to the number of xtras
  5.     if the name of xtra i = "RegistryReader" then
  6.       set registryReaderFound = true
  7.       exit repeat
  8.     end if
  9.   end repeat
  10.   
  11.   if registryReaderFound = false then
  12.     if the runmode = "Author" then
  13.       set msg = "The RegisterReader Xtra is not found in the proper Xtras folder." & RETURN¼
  14.               & "Remember to place the RegisterReader Xtra in the projector's Xtras folder for final delivery!" & RETURN¼
  15.               & "Loading it now anyway"
  16.       alert (msg)
  17.     end if
  18.     openXlib "regRead"
  19.   end if
  20.   
  21.   repeat with nm in ["wordPath", "dirPath", "appName", "appPath",¼
  22.                      "cvidExists", "codecName", "codecExists", "value"]
  23.     set the text of field nm = ""
  24.   end repeat
  25. end
  26.  
  27.